package org.ueg.model;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;



@Entity
@DiscriminatorValue("Cliente")
public class Cliente extends Pessoa {
	
	
	
	@Column(name="vinculoEmpresa", length=70)
	private String vinculoEmpresa;
	
	@OneToOne
	@PrimaryKeyJoinColumn(name="codCliente")
	private Endereco endereco;
	


	public String getVinculoEmpresa() {
		return vinculoEmpresa;
	}

	public void setVinculoEmpresa(String vinculoEmpresa) {
		this.vinculoEmpresa = vinculoEmpresa;
	}
	
	

}
